package me.eleme.anubis.openapi.api.entity.order;


import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * 商品信息
 * @author liuzhiyong
 */
@Data
public class GoodsInfo {
    /** 服务商品id */
    @JSONField(name = "service_goods_id")
    private Long serviceGoodsId;
    /** 基础商品id */
    @JSONField(name = "base_goods_id")
    private Long baseGoodsId;
    /** 是否可用 */
    @JSONField(name = "is_valid")
    private Integer isValid;
    /** 不可用原因描述 */
    @JSONField(name = "disable_reason")
    private String disableReason;
    /** 预计送达时间戳 */
    @JSONField(name = "predict_delivery_time")
    private Long predictDeliveryTime;
    /** 预计送达时长 */
    @JSONField(name = "predict_delivery_minutes")
    private Integer predictDeliveryMinutes;
    /** 服务商品是否支持加小费 */
    @JSONField(name = "can_add_tip")
    private Long canAddTip;
    /** 商品介绍 */
    @JSONField(name = "slogan")
    private String slogan;
    /** 原始配送费总价格(含入参小费金额) */
    @JSONField(name = "total_delivery_amount_cent")
    private Long totalDeliveryAmountCent;
    /** *优惠后配送费总价格(含入参小费金额)  入单实际价格 关注这一个字段就行!!! */
    @JSONField(name = "actual_delivery_amount_cent")
    private Long actualDeliveryAmountCent;
    /** 价格明细 只是展示的加价明细 不要用来做业务计算 */
    @JSONField(name = "price_detail")
    private PriceOpenapiDetail priceDetail;
    /** 优惠券记录id */
    @JSONField(name = "warehouse_id")
    private Long warehouseId;
    /** 预询标识 入单时需传入，标识本次预询 */
    @JSONField(name = "t_indexid")
    private String tIndexid;
}
